package com.lottery.material.enumeration.portaluser;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：验证码发送记录枚举类
 * Created by 朱正磊 on 2019-04-15 16:56
 */
@Getter
public enum ValidateCodeRecordEnum implements BaseEnum {

    // 发送来源（1：注册；2：登录；3：绑定银行卡-银行预留手机号验证）
    SEND_SOURCE_REGISTER("SEND_SOURCE", 1, "注册"),
    SEND_SOURCE_LOGIN("SEND_SOURCE", 2, "登录"),
    SEND_SOURCE_TIED_CARD("SEND_SOURCE", 3, "绑定银行卡-银行预留手机号验证"),
    ;

    private String code;
    private Object value;
    private String description;

    ValidateCodeRecordEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String SEND_SOURCE = "SEND_SOURCE";

}
